/*
 * @Author: Eson(Cai YanShenng) 
 * @Date: 2021-09-28 17:38:13 
 * @Last Modified by: Eson(Cai YanShenng)
 * @Last Modified time: 2021-09-28 17:46:03
 * 我的公司---招聘员工管理页面---跳转页面功能统一封装
 */
import router from '../router/index'

export const GoWorkInfo = (data) => {
    switch (data.id) {
        case 1:
            router.push({
                path: '/myCompany/recruitmentManagement'
            })
            break;
        case 2:
            router.push({
                path: '/myCompany/workInfo'
            })
            break;
        case 3:
            router.push({
                path: '/myCompany/advaceInfo'
            })
            break;
        case 4:
            router.push({
                path: '/myCompany/salary'
            })
            break;
        case 5:
            router.push({
                path: '/myCompany/blackList'
            })
            break;
    }
}